spa-pod: respect the SPA size for long and int APIs

Fixes some issues for 32bit architectures
2 jobs for spa-pod-32bit-fix in 1 minute and 35 seconds
Status Job ID Name Coverage
  Container
passed container_fedora #9694861

00:00:17

 
  Build
passed build_on_fedora #9694862

00:01:17