Band gap of β-PtO2 from first-principles