Use function pointer instead of `if` statement in load.c when using static data.

Since it's used in `read_section_lv`.
https://github.com/mruby/mruby/blob/f4570d411db6fba6925f4c931f032c187b53ecec/src/load.c#L446