fix a few sign comparison warnings
fix possible crash in mapnik::process_layout::box_offset_align
fix #2239