There are many ways to spin a photon: Half-quantization of a total optical angular momentum