Turn NVPTXSubtarget::getDataLayout into a static function.

No functionality change.