Former Malaysian Prime Minister Najib Razak has lost a bid to serve the rest of his sentence under house arrest instead of in jail.