paginator: Use G_PI instead of M_PI

Fix build issues as a subproject.
7 jobs for wip/exalm/pi in 8 minutes and 46 seconds (queued for 2 seconds)