boost::spirit: optimize error range retrieval

Signed-off-by: Alex Dubov <oakad@yahoo.com>
boost::spirit: further optimizations to scaling code

Normalization function optimization pending (only remaining hot spot).

Signed-off-by: Alex Dubov <oakad@yahoo.com>