i965/fs: Move brw_file_from_reg() higher in the file.