gluon-status-page: Calculate prefix from device's first inet6 address

This fixes status page links in environments where multiple prefixes are announced by gateways, e.g. multiple /50 subnets within an overall /48 subnet.