pgrouting: boost 1.56 compatibility

Closes #32496.

Signed-off-by: Tim D. Smith <git@tim-smith.us>