Update cfgreg.c

Using AND operation to set unused bits to 0 (possibility of reading random data at bits 3-0 of l0, l1, l2, l3 - those pins are not tied to cpld, so they can hold previously writted/read data).
rafgc's patch-4 already merged manually.