[NFC][NVVM][NVPTX] Moved common code for tcgen05.mma to the base class (#176327)
This change moves common code parts for `tcgen05.mma` intrinsics to a
separate base class. It removes code duplication and increases
readability. There are no functional changes.