G31 Chipset generally uses the base ICH7 (82801GB) which is NOT AHCI compliant.
Other variations like ICH7R/DH/ will have it.
Just install the Intel Chipset drivers v9 from here:
Intel Chipset Device “Drivers” (= INF files) - Important Drivers / Other Drivers - Win-Raid Forum (level1techs.com)