Respect constness of the filename buffer in vfs_path_concat().