Resource-efficient Medical Image Analysis with Self-adapting Forward-Forward Networks