I'm not sure what you're looking at, but the headlight mounting bolts are not 12mm hex head. It's a smallish round head 4 or 5mm allen head bolt. You have to remove the bolt and the metal spacer it goes through. They are directly under the front indicators.
Once you have them out the headlight lifts up with a little wiggling as the headlight cowling goes under the top of the front fork guards.
Hope that helps.