perlfc: Fix valtext rodata check

The script hangs when rodata section is
absent. Skip rodata check in that case.

Signed-off-by: Lei Wen <adrian.wenl@gmail.com>
Signed-off-by: Vinayak Menon <vinayakm.list@gmail.com>