bdf12f964 lib/igt_kms: Update igt_fit_modes_in_bw to add legacy commit check