Extracting sw_ops pointer

Modified the manner in which the extraction of the pointer was made. The
pointer is taken directly using dlsym, without using the registration
function.

Signed-off-by: Mihaela Martinas <martinas.mihaela21@gmail.com>