Hydrogen insertion effects on the electronic structure of equiatomic MgNi traced by ab initio calculations