loop.c (scan_loop, [...]): Change unroll_p and bct_p parameters to flags.